package com.bw.kf.mvvm.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

data class LoginEntity(
    val code: Int,
    val `data`: LoginData,
    val message: String
)

@Entity(tableName = "user")
data class LoginData(
    val key: String?,
    val nikeName: String,
    val phone: String,
    val token: String,
    val type: String?,
    @PrimaryKey
    val uid: Int
)